#define TILEWIDTH 20
#define TILEHEIGHT 20

#ifdef HILDON
  #include <hildon-widgets/hildon-program.h>
  #include <hildon-widgets/hildon-window.h>
  #include <libosso.h>

  /* Create needed variables */
  HildonProgram *program; /* application */
  HildonWindow *window;   /* window */
  osso_context_t *osso;   /* handle to osso */
#else
  GtkWidget *window;
#endif

  GtkWidget *toolbar2;
  GtkWidget *knots1;
  GtkWidget *splits1;
  GtkWidget *fullscreen;
  GtkWidget *radiotoolbutton1;
  GtkWidget *radiotoolbutton2;
  GtkWidget *drawingArea;
  GtkWidget *hscale1;
  GtkWidget *hscale2;

  extern gboolean tb_visible;
  extern gboolean is_fullscreen;
  extern gboolean show_knots;
  extern gboolean being_handled;
  extern gboolean is_dirty;

  GdkPixbuf *tiles;

  extern int knot[255];
  extern int kwidth;
  extern int kheight;

  extern char fname[512];
  extern gboolean have_fname;
